package com.ocom.common.entity.access;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ocom.common.entity.base.EntityBase;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "personnel_ykm")
public class EntityPersonnelYkm extends EntityBase implements Serializable {

  private static final long serialVersionUID = 592648378981036055L;
  @TableId(value = "p_id", type = IdType.NONE)
  private Long pId;
  private Long comId;
//  private String comName;
//  private Long deptId;
//  private String deptName;
//  private String pCode;
//  private String pName;
  private String deviceNo;
//  private String deviceName;
//  private Long regionId;
//  private String regionName;
//  private Long areaId;
//  private String areaName;
  private String reason;
  private String ykmInfo;
  private String codeColor;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date colorTime;
  private String hsResult;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date hsTime;
  private Integer ymNum;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date ymTime;


}
